﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using XuanXiang.Infrastructure.Attr;
using XuanXiang.Infrastructure.Dto.Request;
using XuanXiang.Infrastructure.Dto.Request.System;
using XuanXiang.Infrastructure.Dto.Response;
using XuanXiang.Infrastructure.Dto.Response.System;

namespace XuanXiang.Service.Interface
{
    [Provider_]
    public interface I_Home_Service
    {
        /// <summary>
        /// 获取首页的数据统计
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> GetHomeStatistics();

        /// <summary>
        /// 获取首页统计图数据
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Home_Cartogram();

        /// <summary>
        /// 获取热销top5的商品
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Top_Goods();

        /// <summary>
        /// 获取采购量top10的商户
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Top_Merchant();

        /// <summary>
        /// 获取销售额top10的供应商
        /// </summary>
        /// <returns></returns>
        Task<Api_Result_Dto> Get_Top_Supplier();
    }
}
